function numberformat(value)
{
	delimiter='.';
	data = value.toString().replace(new RegExp("(^\\d{"+(value.toString().length%3||-1)+"})(?=\\d{3})"),"$1"+delimiter).replace(/(\d{3})(?=\d)/g,"$1"+delimiter);
	return data;
}